home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / util / shell / axsh_1_3_demo.lha / InstallDisk.lha / man / editor.man < prev    next >
Text File  |  1992-08-21  |  2KB  |  77 lines

  1.  
  2.  
  3. EDITOR                  USER COMMANDS           03-Jul-91
  4.  
  5.  
  6. NAME
  7.     editor - Edit a named file with a full-srceen editor
  8.  
  9. SYNOPSIS
  10.     editor filename
  11.  
  12. DESCRIPTION
  13.     Editor  is a tool for editing files.  It is not only used by
  14.     user,  but  by  mail  and news programs also.  This makes it
  15.     recommended  that  you  learn to fully use this editor.  The
  16.     editor  uses vt100-type emulation codes and should also work
  17.     vith  ansi-terminals.  Editor allows several cursor movement
  18.     codes.   You  can  use  either vt100, vt102  or amiga cursor
  19.     codes.   The  editor  won't  allow  control characters to be
  20.     typed into a file.
  21.  
  22.     The  editor  is  always  in insert mode.  So, everything you
  23.     type  appears in the current cursor position and the rest of
  24.     the  line (if any) moves accordingly.  There is no so called
  25.     overtype-mode  in  this  editor.  On other hand, there is an
  26.     automatic wrap to prevent too long lines.
  27.  
  28. COMMANDS
  29.     CR,LF    Insert line,  Adds a new line in the cursor position
  30.         and moves the rest of the line to a new line.
  31.     BS,DEL  Remove a character, Deletes a character and if it is
  32.         a  new  line, tries to move the data to the previous
  33.         line.
  34.  
  35.     ESC v    Moves the cursor and display up for one page
  36.     ctrl-v    Moves the cursor and display down for one page
  37.     ESC <    Goto the beginning of the file (first page)
  38.     ESC >    Goto the EOF (last page)
  39.  
  40.     cursor movements: (<cio> is a command introducer in amiga)
  41.  
  42.     <cio>A, ESC[A or ctrl-p        up one line
  43.     <cio>B, ESC[B or ctrl-n        down one line
  44.     <cio>C, ESC[C or ctrl-f        right one position
  45.     <cio>D, ESC[D or ctrl-b        left one position
  46.  
  47.     ctrl-x q    Save and quit
  48.     ctrl-x c    Quit without saving
  49.     ctrl-x s    Save the file
  50.     ctrl-x w    Write the file with a new name
  51.     ctrl-x i    Insert a named file to the cursor position
  52.  
  53.     ctrl-e    Goto the end of the current line
  54.     ctrl-k    Remove line/delete to end of line
  55.     ctrl-l    Refresh screen
  56.     ctrl-z    Save and quit (many screen editors uses this)
  57.  
  58.  
  59. AUTHOR
  60.     Pasi 'Albert' Ojala, E-mail: po87553@cs.tut.fi 
  61.  
  62. FILES
  63.     filename        Name of the editable file
  64.     AXsh:bin/editor        Editor
  65.  
  66. SEE ALSO
  67.     mail, rn, more
  68.  
  69. BUGS
  70.     No bugs found. Contributions welcomed
  71.  
  72. NOTES
  73.     The  insert  file -command don't append to the actual cursor
  74.     position,  but  to  the next line.  Anyway, you can manually
  75.     correct this odd behaviour.
  76.  
  77.